package lab02.test7;

/**
 * Created by dell on 2017/10/19.
 */
public class test {
    public static void main(String[] args) {
        /**
         * 程序执行流程
         */
        person chen = new person();
        chen.name = "chengongsuo";
        chen.age = 20;
        chen.idcared = "123456789";

        System.out.println(chen.getString());

        student zhen = new student();
        zhen.name = "zhen";
        zhen.age = 20;
        zhen.idcared = "134257689";
        zhen.sno = "34592";
        zhen.university = "sctu";

        System.out.println(zhen.getString());
    }
}
